package seTOee.proxy.instance;

public class Test {
    public static void main(String[] args) throws Exception {
        UserService us = new UserServiceImpl();
        UserService proxy = new ProxyUtil().createProxy(us);
        System.out.println("-------------------------------");
        proxy.login("admin","123456");
        System.out.println("-------------------------------");
        proxy.deleteUsers();
        System.out.println("-------------------------------");
        proxy.selectUsers();
        System.out.println("-------------------------------");
        proxy.selectUsers2();
        System.out.println("-------------------------------");
    }
}
